﻿using System;
using ACControl;

namespace DemoWebApplication
{
    public class Global : System.Web.HttpApplication
    {
        protected void Application_Start(object sender, EventArgs e)
        {
            //If you use Dirty Words Filter of the Control,
            //Here is a good point to set dirty words source for filter.
            AutoCompleteControl.DirtyWords =
                new System.Collections.Generic.List<Word>
                {
                    new Word
                    {
                        Text    = "dirtyWord1",
                        WordId  = 21,
                        IsDirty = true
                    },
                    new Word
                    {
                        Text    = "dirtyWord2",
                        WordId  = 22,
                        IsDirty = true
                    }
                };
        }

        protected void Session_Start(object sender, EventArgs e)
        {
            var s = new StaticDatasource();
        }

        protected void Application_BeginRequest(object sender, EventArgs e)
        {

        }

        protected void Application_AuthenticateRequest(object sender, EventArgs e)
        {

        }

        protected void Application_Error(object sender, EventArgs e)
        {

        }

        protected void Session_End(object sender, EventArgs e)
        {

        }

        protected void Application_End(object sender, EventArgs e)
        {

        }
    }
}